﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<table class="tab_top" width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="89%" align="center">
            &nbsp;用户姓名：<asp:TextBox ID="txtSeach" Text="" runat="server" Width="98px"></asp:TextBox>
            单位：<asp:DropDownList ID="danwei" runat="server" AutoPostBack="true" Width="155px">
            </asp:DropDownList>
            部门：<asp:DropDownList ID="bumen" runat="server" AutoPostBack="true" Width="155px">
            </asp:DropDownList>
            <asp:Button ID="btnQuery" class="input" Text="查询" runat="server"></asp:Button>
        </td>
        <td width="10%">
            <div>
                <a href="edituser.aspx">添加用户</a></div>
        </td>
    </tr>
</table>
<table class="gridtable" width="100%" border="1">
    <tr class="title" align="center" valign="middle">
        <th width="14%">
            用户ID
        </th>
        <th width="14%">
            用户姓名
        </th>
        <th width="14%">
            排序
        </th>
        <th width="14%">
            编辑
        </th>
        <th width="14%">
            删除用户
        </th>
    </tr>
    <CBW:MPRepeater ID="MPRepeater1" runat="server">
        <ItemTemplate>
            <tr align="center" valign="middle">
                <td>
                    <%#Eval("LOGIN_NAME")%>
                </td>
                <td>
                    <%#Eval("USER_NAME")%>
                </td>
                <td>
                    <%#Eval("ORDERBYID")%>
                </td>
                <td>
                    <a href="edituser.aspx?userid=<%#Eval("USERID")%>">编辑</a>
                </td>
                <td>
                    <a href="Userlist.aspx?userid=<%#Eval("USERID")%>&action=del" onclick='return confirm("确认删除此条数据吗？");'>
                        删除</a>
                </td>
            </tr>
        </ItemTemplate>
    </CBW:MPRepeater>
</table>
